package com.bootdo.put.service;

import com.bootdo.put.domain.PutStorageDO;

import java.util.List;
import java.util.Map;

/**
 * 入库单
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-24 11:50:15
 */
public interface PutStorageService {
	
	PutStorageDO get(Long putId);
	
	List<PutStorageDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(PutStorageDO putStorage);
	
	int update(PutStorageDO putStorage);
	/**
	 * 获取状态列表
	 * @return
	 */
	List<PutStorageDO> listStatus();
	/**
	 * 根据状态查询
	 * @param status
	 * @return
	 */
	List<PutStorageDO> listByStatus(String status);
	
//	int remove(Long putId);
//	
//	int batchRemove(Long[] putIds);


	int updateSpecial(PutStorageDO putStorageDO,String allocationNumber);
}
